<template>
  <div id="">
    <alert-box  @to-close="closeAlert" v-show="isShow"></alert-box>
  </div>
</template>
<script>
import AlertBox from '@/page/com/alertBox'
export default {
 components:{
  AlertBox
},
  data(){
  return {
     isShow:true
}
},
 methods: {
   closeAlert(one) {
      console.log(one)
      this.isShow=false

   }
 }
}
</script>
<style scoped>
</style>
